table.mytable {
  /* border:1px solid #aaa; */
  margin:auto;
  border-spacing: 0px;/*表格的间距*/
  border-right:1px solid #aaa;
  border-bottom:1px solid #aaa;
}
table.mytable td {
  border-left:1px solid #aaa;
  border-top:1px solid #aaa;
  padding:8px 30px;
}
table.mytable thead tr {
  background: #ee2;
  color:#666;
}
table.mytable tfoot tr {
  /* background: #eee; */
  text-align: right;
}
table.mytable tbody tr:nth-child(even) {
  background: #eee;
}
table.mytable tbody tr:hover {
  background: #393;
  color: #fff;
}